<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>日期对象</title>
	<script type="text/javascript">
		// wuyi = new Date('2017-01-01 00:00:00');

		// time1 = wuyi.getTime()/1000;//当前毫秒

		// document.write(time1);

		// document.write("<br>");

		// now = new Date();

		// time2= now.getTime()/1000;

		// document.write(now.getDay());

		// document.write(time2);

		// document.write("<br>");

		// document.write((time1-time2)/24/3600);



	




		// sdfsdf = new Date('2017-01-01');
		// 
		// 
		// now = new Date("2017-01-01 00:00:00");

		// document.write(now);

		// document.write("<br>");

		// document.write(now.getTime()/1000);



		// arr = ["小明",'小红','小花'];


		num = 100000;

		res = num/24/3600;

		time2 = num%(24*3600);

		document.write(time2/3600);

		document.write("<br>");

		time3 = time2%3600;

		document.write(time3/60);

		time4 = time3%60;
		document.write("<br>");

		document.write(time4);

		document.write("<br>");

		document.write(res);

		





	</script>
</head>
<body>
	
</body>
</html>